home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 November
/
Chip_2000-11_cd2.bin
/
sharewar
/
Slunec
/
app
/
17
/
_SETUP.1
/
Odeslat zpravu autorovi.pw
< prev
next >
Wrap
Text File
|
2000-08-29
|
1KB
|
42 lines
{*******************************************************}
{ }
{ Programmer's Wizard 2 Pascal Script }
{ (popis jazyka v souboru SCRIPT.DOC) }
{ }
{*******************************************************}
uses ScriptUtils;
function GetVerStr: string;
var
mMajor, mMinor, mRel: Integer;
Begin
GetVersionEx(mMajor, mMinor, mRel);
result := 'v' + IntToStr(mMajor) + '.' + IntToStr(mMinor) + '.' +
IntToStr(mRel);
end;
function GetValidVerStr: string;
Begin
result := 'v2.0.1'; //pozadovana verze PW
end;
var
ToList, CcList, AttList: Array of string;
Begin
if GetValidVerStr <> GetVerStr then //nespravna verze?
ShowMessage('Upozorn∞nφ: tento skript byl napsßn pro Programmers Wizard ' +
GetValidVerStr + '. Momentßln∞ spuÜt∞nß verze: ' + GetVerStr);
//vyplnime zakladni info
SetArrayLength(ToList, 1);
ToList[0] := 'petr.esner@atlas.cz';
SetArrayLength(CcList, 1);
CcList[0] := 'pwiz@volny.cz';
//odeslat, neprovadime test navratove hodnoty, protoze v pripade
//neuspechu upozorni uzivatele sam dialog 'Odeslat postu'
SendMailEx(ToList, CcList, AttList, 'Programmers Wizard 2', '');
end.